package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.Image;
import com.company.project.util.PageUtil;

import java.util.List;

public interface ImageMapper extends Mapper<Image> {

    //前台查询首页轮播图
    List<Image> selectImageList();

    //后台查询前台首页轮播图
    List<Image> adminSelectImageList(PageUtil pageUtil);

    //后台查询条数
    Integer adminSelectCount();

    //后台修改
    Integer adminUpdateImage(Image image);
}